package cc.decat.escript.ir.statement;

import cc.decat.escript.ir.Node;
import cc.decat.escript.ir.Visitor;

import java.util.List;

public class AssignStatement extends Statement {
    private List<Node> assignableList;
    private List<Node> expressionList;

    public AssignStatement(List<Node> assignableList, List<Node> expressionList) {
        this.assignableList = assignableList;
        this.expressionList = expressionList;
    }

    public List<Node> getAssignableList() {
        return assignableList;
    }

    public List<Node> getExpressionList() {
        return expressionList;
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
